<template>
  <div class="hello">
    <div class="hello-msg">{{ msg }}</div>
    <ChatWindow/>
    <!-- <UserCard/> -->
  </div>
</template>

<script>
import ChatWindow from "./ChatWindow.vue";
import UserCard from "./UserCard.vue";

export default {
  name: "HelloWorld",
  props: {
    // msg: String,
  },
  components: {
    ChatWindow,
    UserCard,
  },
  data() {
    return {
      msg: "",
    };
  },
};
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
.hello {
  color: white;
}
.hello-msg {
  font-size: 30px;
  font-weight: bold;
  margin: 0 auto;
  height: 50px;
  width: 200px;
  padding: 20px;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
  color: white;
}
h3 {
  margin: 40px 0 0;
}
ul {
  list-style-type: none;
  padding: 0;
}
li {
  display: inline-block;
  margin: 0 10px;
}
a {
  color: #42b983;
}
</style>
